{extend name="layout:base" /}

{block name="content"}
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-row layui-col-space15">
            <div class="layui-card">
                <div class="layui-card-header">优化排行榜</div>
                <div class="layui-card-body layui-text">
                    <table class="layui-table" >
                        <thead>
                        <tr>
                            <th>日排名</th>
                            <th>优化师</th>
                            <th>昨日扣费</th>
                            <th>百度达标率</th>
                            <th>网站达标率</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="list" id="vo" key="k" }
                        <tr>
                            <td>{$k}</td>
                            <td>{$vo.seoName}</td>
                            <td>{$vo.m}</td>
                            <td>{$vo.data_key}%</td>
                            <td>{$vo.data_web}%</td>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>

                    <table class="layui-table">
                        <thead>
                        <tr>
                            <th></th>
                            <th>姓名</th>
                            <th>网站数量</th>
                            <th>网站扣费</th>
                            <th>关键词数量</th>
                            <th>关键词扣费</th>
                            <th>关键词首页数</th>
                            <th>关键词二页数</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="dataList" id="vo" key="k" }
                        <tr>
                            <td>{$k}</td>
                            <td>{$vo.name}</td>
                            <td>{$vo.webnum}</td>
                            <td>{$vo.webdbnum}</td>
                            <td>{$vo.keynum}</td>
                            <td>{$vo.keyKfNum}</td>
                            <td>{$vo.keyKfOne}</td>
                            <td>{$vo.keyKfTwo}</td>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                </div>

        </div>
    </div>
</div>
{/block}

{block name="script"}
<script>
    layui.config({
        base: '__STATIC__/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'console', 'table', 'util', 'form'], function () {
        var $ = layui.$, form = layui.form, layer = layui.layer, table = layui.table;

    });
</script>
{/block}